package mysql

import "gorm.io/gorm"

type Novel struct {
	gorm.Model
	Title   string `gorm:"type:varchar(30);not null;comment:小说标题"`
	Content string `gorm:"type:varchar(100);not null;comment:小说简介"`
	Class   string `gorm:"type:varchar(30);not null;comment:小说分类"`
	UserId  int64  `gorm:"type:int(11);not null;comment:用户Id"`
}
